package com.base.common.view.widget.banner;

import android.content.Context;

import com.base.common.view.widget.imageView.GlideImageView;
import com.base.common.view.widget.imageView.ImageLoaderUtils;
import com.youth.banner.loader.ImageLoaderInterface;

public class BannerImageLoader implements ImageLoaderInterface<GlideImageView> {

    @Override
    public void displayImage(Context context, Object path, GlideImageView imageView) {
        ImageLoaderUtils.loadImage(imageView, null, path);
    }

    @Override
    public GlideImageView createImageView(Context context) {
        return new GlideImageView(context);
    }


}
